constellation = ['白羊座','金牛座','双子座','巨蟹座','狮子座','处女座','天秤座','天蝎座','射手座','摩羯座','水瓶座','双鱼座']
nature = ['积极乐观','固执己见','圆滑世故','多愁善感','迷之自信','精明计较','犹豫不决','阴暗消极','放荡不羁','务实本分','乖巧可爱','美丽大方']
d = dict(zip(constellation,nature)) #打包之后转为字典
print(d)
for i in range(1,11):
    key = input("请输入您要查询的星座:")
    flag = False
    for item in d:
        if key == item:
            flag = True
            print(key, "的星座特点为:", d.get(key))
            break
        else:
            flag = False
    if not flag:
        print("输入的星座不正确，请重新输入!!!")
        if i < 10:
            print(f"你已经输错{i}次了")
print("你今天已经输错10次了,请明天再尝试!!!")


